package com.ruoyi.back.domain.vo

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("模板评论列表参数")
data class TemplateCommentListVo(

    @ApiModelProperty("编号")
    var id: Long? = null,

    @ApiModelProperty("评论内容")
    var content: String? = null,

    @ApiModelProperty("所属分类")
    var categoryId: Long? = null,

    @ApiModelProperty("分类名称")
    var categoryName: String? = null,

    @ApiModelProperty("评论用户ID")
    var userId: String? = null,

    @ApiModelProperty("评论用户名")
    var username: String? = null,

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("评论时间")
    var createTime: Date? = null,

    @ApiModelProperty("所属模板内容")
    var templateContent: String? = null,

    @ApiModelProperty("所属模板标题")
    var templateTitle: String? = null,

    @ApiModelProperty("所属模板类型")
    var templateType: Int? = null,

    @ApiModelProperty("所属模板封面")
    var templateCover: String? = null,

    @ApiModelProperty("审核状态 1待审核 2.审核通过 3.审核失败")
    var checkStatus: Int? = null
)
